Skip to content

Python: dataflow, bypass ssa nodes#4657

Closed
yoff wants to merge 4 commits into
github:mainfrom
yoff:python-dataflow-bypass-ssa-nodes
Closed

Python: dataflow, bypass ssa nodes#4657
yoff wants to merge 4 commits into
github:mainfrom
yoff:python-dataflow-bypass-ssa-nodes

Conversation

@yoff

@yoff yoff commented Nov 12, 2020

Copy link
Copy Markdown
Contributor

The ultimate goal of this work is to remove SSA nodes from the data-flow graph. This should simplify our data-flow graph, but also simplify tasks such as solving variable capture. Unfortunately, it may in fact be necessary to solve variable capture first, as this is partly handled by SSA nodes and scope-entry definitions.

yoff added 4 commits November 10, 2020 23:04
extend `DefinitionNode` to handle `With`
An `EssaNodeDefinition` may not have flow into it from a
`ControlFlowNode`. This happens for instance with iterator variables
in for loops. Simply bypassing the `EssaVariable` therefor drops
the flow. Adding the defining node in-between restores it.
@yoff

yoff commented Nov 22, 2023

Copy link
Copy Markdown
Contributor Author

Closed in favour of #14777.

@yoff yoff closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant